package day04;

public class ForDemo1 {
    public static void main(String[] args) {
       for(int i = 1;i<=9;i++){
           System.out.println(i+"*9="+i*9);
       }
       for(int i = 9;i>=1;i--){
           System.out.println(i+"*9="+i*9);
       }
       for(int i = 1;i<=9;i+=2){
            System.out.println(i+"*9="+i*9);
        }
       /*
       * num=1
       * num<=9 输出1*9 num+2 num=3
       * num<=9 输出3*9 num+2 num=5
       * num<=9 输出5*9 num+2 num=7
       * num<=9 输出7*9 num+2 num=9
       * num<=9 输出9*9 num+2 num=11
       * num>=9 程序结束*/
       for (int t = 0;t<5;t++){
           System.out.println("行动是成功的阶梯");
       }

    }
}
